package com.whj.ems.service;

import java.util.List;


public abstract interface BaseService<T> {
	
	public abstract void save(T entity)throws Exception;
	
	public abstract void delete(T entity)throws Exception;
	
	public abstract void deleteByIds(List<T> entities)throws Exception;
	
	public abstract void update(T entity)throws Exception;
	
	public abstract List<T> get()throws Exception;
	
	public abstract int getCount(Class<T> class1)throws Exception;
}
